package com.lb.pdm.service;

import com.lb.pdm.common.result.GraceJSONResult;
import com.lb.pdm.entity.HouseholdTransfer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lb.pdm.entity.bo.ApprovalBO;
import com.lb.pdm.entity.bo.HouseholdTransferApplicationBO;
import com.lb.pdm.entity.bo.HouseholdTransferBO;
import com.lb.pdm.entity.vo.HouseholdTransferVO;

import java.util.List;

/**
 * <p>
 * 户口迁移表 服务类
 * </p>
 *
 * @author pdm
 * @since 2025-10-29
 */
public interface HouseholdTransferService extends IService<HouseholdTransfer> {
    List<HouseholdTransferVO> getHouseholdTransfer(HouseholdTransferBO householdTransferBO);

    HouseholdTransferVO getHouseholdTransferDetail(Long id);

    int updateHouseholdTransfer(ApprovalBO approvalBO, String token);

    GraceJSONResult householdTransfer(Long id);

    GraceJSONResult applyTransfer(HouseholdTransferApplicationBO householdTransferApplicationBO,
                                  String  token);
}
